<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>


<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>${fns:getConfig('productName')}</title>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10"/>
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store">
    <!-- 引入jquery插件 -->
    <script src="${sPath}/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
    <script src="${sPath}/jquery/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>


    <!-- 引入依赖的第三方插件 -->
    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="${sPath}/ace/assets/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="${sPath}/ace/assets/css/font-awesome.css"/>
    <link rel="stylesheet" href="${sPath}/ace/assets/css/ace-fonts.css"/>
    <link rel="stylesheet" href="${sPath}/ace/assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style"/>
    <script src="${sPath}/ace/assets/js/ace-extra.js"></script>

    <script type="text/javascript">
        if ('ontouchstart' in document.documentElement) document.write("<script src='${sPath}/ace/assets/js/jquery.mobile.custom.js'>" + "<" + "/script>");
    </script>
    <script src="${sPath}/ace/assets/js/bootstrap.js"></script>

    <!-- page specific plugin scripts -->

    <!--[if lte IE 8]>
    <script src="${sPath}/ace/assets/js/excanvas.js"></script>
    <![endif]-->
    <script src="${sPath}/ace/assets/js/jquery-ui.custom.js"></script>
    <script src="${sPath}/ace/assets/js/jquery.ui.touch-punch.js"></script>
    <script src="${sPath}/ace/assets/js/jquery.easypiechart.js"></script>
    <script src="${sPath}/ace/assets/js/jquery.sparkline.js"></script>

    <!-- ace scripts -->
    <script src="${sPath}/ace/assets/js/ace/elements.scroller.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.colorpicker.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.fileinput.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.typeahead.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.wysiwyg.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.spinner.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.treeview.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.wizard.js"></script>
    <script src="${sPath}/ace/assets/js/ace/elements.aside.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.ajax-content.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.touch-drag.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.sidebar.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.sidebar-scroll-1.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.submenu-hover.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.widget-box.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.settings.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.settings-rtl.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.settings-skin.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.widget-on-reload.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.searchbox-autocomplete.js"></script>


    <!-- the following scripts are used in demo only for onpage help and you don't need them -->
    <link rel="stylesheet" href="${sPath}/ace/assets/css/ace.onpage-help.css"/>
    <link rel="stylesheet" href="${sPath}/ace/docs/assets/js/themes/sunburst.css"/>

    <script type="text/javascript"> ace.vars['base'] = '..'; </script>
    <script src="${sPath}/ace/assets/js/ace/elements.onpage-help.js"></script>
    <script src="${sPath}/ace/assets/js/ace/ace.onpage-help.js"></script>
    <script src="${sPath}/ace/docs/assets/js/rainbow.js"></script>
    <script src="${sPath}/ace/docs/assets/js/language/generic.js"></script>
    <script src="${sPath}/ace/docs/assets/js/language/html.js"></script>
    <script src="${sPath}/ace/docs/assets/js/language/css.js"></script>
    <script src="${sPath}/ace/docs/assets/js/language/javascript.js"></script>


    <!-- 引入依赖的第三方插件 -->
    <script src="${sPath}/slimscroll/jquery.slimscroll.min.js"></script>


    <!-- <link href="${sPath}/jquery-select2/3.5.4/select2.css" rel="stylesheet" />
    <link href="${sPath}/jquery-select2/3.5.4/select2-bootstrap.css" rel="stylesheet" />
    <script src="${sPath}/jquery-select2/3.5.4/select2.min.js" type="text/javascript"></script>
    <script src="${sPath}/jquery-select2/3.5.4/select2_locale_zh-CN.js" type="text/javascript"></script>-->
    <script src="${sPath}/jquery-validation/1.14.0/jquery.validate.min.js" type="text/javascript"></script>
    <script src="${sPath}/jquery-validation/1.14.0/localization/messages_zh.min.js" type="text/javascript"></script>
    <link href="${sPath}/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css" rel="stylesheet"/>
    <script src="${sPath}/jquery-jbox/2.3/jquery.jBox-2.3.min.js" type="text/javascript"></script>
    <script src="${sPath}/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="${sPath}/pace/pace.min.js"></script>
    <script src="${sPath}/metisMenu/jquery.metisMenu.js"></script>
    <link href="${sPath}/iCheck/custom.css" rel="stylesheet"/>
    <script src="${sPath}/iCheck/icheck.min.js"></script>
    <script src="${sPath}/iCheck/icheck-init.js"></script>
    <link href="${sPath}/dataTables/dataTables.bootstrap.css" rel="stylesheet"/>
    <script src="${sPath}/dataTables/jquery.dataTables.js"></script>
    <script src="${sPath}/dataTables/dataTables.bootstrap.js"></script>

    <!-- 引入自定义文件 -->
    <link href="${sPath}/ace/tab.css" type="text/css" rel="stylesheet"/>

    <!-- 引入layer插件 -->
    <script src="${sPath}/layer-v2.3/layer/layer.js"></script>
    <script src="${sPath}/layer-v2.3/layer/laydate/laydate.js"></script>

    <!--引入webuploader-->
    <link rel="stylesheet" type="text/css" href="${sPath}/webuploader-0.1.5/webuploader.css">
    <script type="text/javascript" src="${sPath}/webuploader-0.1.5/webuploader.js"></script>


    <!-- 引入自定义文件 -->
    <script src="${sPath}/common/mustache.min.js" type="text/javascript"></script>
    <script src="${sPath}/common/content.js" type="text/javascript"></script>
    <script type="text/javascript">var ctx = '${ctx}', ctxStatic = '${sPath}';</script>


    <script src="${sPath}/common/inspinia-ace.js?v=3.2.0"></script>
    <script src="${sPath}/common/contabs.js"></script>


</head>

<body class="no-skin">
<!-- #section:basics/navbar.layout -->
<div id="navbar" class="navbar navbar-default">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="navbar-container" id="navbar-container">
        <!-- #section:basics/sidebar.mobile.toggle -->
        <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
            <span class="sr-only">Toggle sidebar</span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>
        </button>

        <!-- /section:basics/sidebar.mobile.toggle -->
        <div class="navbar-header pull-left">
            <!-- #section:basics/navbar.layout.brand -->
            <a href="#" class="navbar-brand">
                <small>
                    ${fns:getConfig('productName')}
                </small>
            </a>

            <!-- /section:basics/navbar.layout.brand -->

            <!-- #section:basics/navbar.toggle -->

            <!-- /section:basics/navbar.toggle -->
        </div>

        <!-- #section:basics/navbar.dropdown -->
        <div class="navbar-buttons navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">

                <li class="purple">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <i class="ace-icon fa fa-bell icon-animated-bell"></i>
                        <span class="badge badge-important">0</span>
                    </a>

                    <ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
                        <li class="dropdown-header">
                            <i class="ace-icon fa fa-exclamation-triangle"></i>
                            0 条未读消息
                        </li>

                        <li class="dropdown-content">
                            <ul class="dropdown-menu dropdown-navbar navbar-pink">


                            </ul>
                        </li>

                        <li class="dropdown-footer">
                            <a class="J_menuItem" href="${ctx}/oa/oaNotify/self ">
                                查看所有
                                <i class="ace-icon fa fa-arrow-right"></i>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="green">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <i class="ace-icon fa fa-envelope icon-animated-vertical"></i>
                        <span class="badge badge-success">0</span>
                    </a>

                    <ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
                        <li class="dropdown-header">
                            <i class="ace-icon fa fa-envelope-o"></i>
                            0 未读邮件
                        </li>

                        <li class="dropdown-content">
                            <ul class="dropdown-menu dropdown-navbar">


                            </ul>
                        </li>


                        <li class="dropdown-footer">
                            <a class="J_menuItem" href="${ctx}/iim/mailBox/list?orderBy=sendtime desc">
                                查看所有邮件<i class="ace-icon fa fa-arrow-right"></i>
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- #section:basics/navbar.user_menu -->
                <li class="light-blue">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <img class="nav-user-photo" src="${sPath}/ace/assets/avatars/avatar2.png" alt=""/>
								<span class="user-info">
									<small>${fns:getUser().name}</small>
								</span>
                        <i class="ace-icon fa fa-caret-down"></i>
                    </a>

                    <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li>
                            <a class="J_menuItem" href="${ctx}/sys/user/info">
                                <i class="ace-icon fa fa-cog"></i>
                                修改头像
                            </a>
                        </li>

                        <li>
                            <a class="J_menuItem" href="${ctx}/sys/user/info">
                                <i class="ace-icon fa fa-user"></i>
                                个人资料
                            </a>
                        </li>

                        <li>
                            <a class="J_menuItem" href="${ctx}/iim/contact/index">
                                <i class="ace-icon fa fa-indent"></i>
                                我的通讯录
                            </a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="${ctx}/iim/mailBox/list">
                                <i class="ace-icon fa fa-inbox"></i>
                                信箱</a>
                        </li>


                        <li class="divider"></li>

                        <li>
                            <a class="J_menuItem" href="${ctx}/logout">
                                <i class="ace-icon fa fa-power-off"></i>
                                安全退出
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- /section:basics/navbar.user_menu -->
            </ul>
        </div>

        <!-- /section:basics/navbar.dropdown -->
    </div>
    <!-- /.navbar-container -->
</div>

<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <!-- #section:basics/sidebar -->
    <div id="sidebar" class="sidebar                  responsive">
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'fixed')
            } catch (e) {
            }
        </script>

        <div class="sidebar-shortcuts" id="sidebar-shortcuts">
            <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
                <button class="btn btn-success">
                    <i class="ace-icon fa fa-signal"></i>
                </button>

                <button class="btn btn-info">
                    <i class="ace-icon fa fa-pencil"></i>
                </button>

                <!-- #section:basics/sidebar.layout.shortcuts -->
                <button class="btn btn-warning">
                    <i class="ace-icon fa fa-users"></i>
                </button>

                <button class="btn btn-danger">
                    <i class="ace-icon fa fa-cogs"></i>
                </button>

                <!-- /section:basics/sidebar.layout.shortcuts -->
            </div>

            <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                <span class="btn btn-success"></span>

                <span class="btn btn-info"></span>

                <span class="btn btn-warning"></span>

                <span class="btn btn-danger"></span>
            </div>
        </div>
        <!-- /.sidebar-shortcuts -->

        <ul class="nav nav-list">
            ${fns:renderNavi(ctx)}
        </ul>

        <!-- #section:basics/sidebar.layout.minimize -->
        <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
            <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left"
               data-icon2="ace-icon fa fa-angle-double-right"></i>
        </div>

        <!-- /section:basics/sidebar.layout.minimize -->
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'collapsed')
            } catch (e) {
            }
        </script>
    </div>

    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <div class="breadcrumbs" id="breadcrumbs">
                <div class="content-tabs">
                    <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
                    </button>
                    <nav class="page-tabs J_menuTabs">
                        <div class="page-tabs-content">
                            <a href="javascript:;" class="active J_menuTab" data-id="${ctx}/home">首页</a>
                        </div>
                    </nav>
                    <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
                    </button>
                    <div class="btn-group roll-nav roll-right">
                        <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                        </button>
                        <ul role="menu" class="dropdown-menu dropdown-menu-right">
                            <li class="J_tabShowActive"><a>定位当前选项卡</a>
                            </li>
                            <li class="divider"></li>
                            <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                            </li>
                            <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                            </li>
                        </ul>
                    </div>
                    <a href="${ctx}/logout" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i>
                        退出</a>
                </div>
            </div>

            <div class="J_mainContent" id="content-main">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="${ctx}/home" frameborder="0"
                        data-id="${ctx}/home" seamless></iframe>
            </div>
        </div>


    </div>

    <%--<div class="footer">
        <div class="footer-inner">
            <!-- #section:basics/footer -->
            <div class="footer-content">
						<span class="bigger-120">
							<span class="blue bolder">${fns:getConfig('productName')}</span>
                            &copy; 2015-2020
						</span>

                &nbsp; &nbsp;
						<span class="action-buttons">
							<a href="#">
                                <i class="ace-icon fa fa-twitter-square light-blue bigger-150"></i>
                            </a>

							<a href="#">
                                <i class="ace-icon fa fa-facebook-square text-primary bigger-150"></i>
                            </a>

							<a href="#">
                                <i class="ace-icon fa fa-rss-square orange bigger-150"></i>
                            </a>
						</span>
            </div>

            <!-- /section:basics/footer -->
        </div>
    </div>--%>

    <a href="#" id="btn-scroll-up" class="pull-left btn-scroll-up btn btn-sm btn-inverse">
        <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
    </a>

</div>

</body>


</html>